<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>
    var arr = [{
        name:"admin",
        age:18,
        sex:"男",
        hobby:["篮球","羽毛球","唱歌"],
        say:function(){}
    },{
        name:"root",
        age:19,
        sex:"女",
        hobby:["唱歌","跳舞","rap","篮球"],
        say:function(){}
    }]

    console.log(arr);
    console.log(arr[1]);
    console.log(arr[1].hobby);
    console.log(arr[1].hobby[2]);

    var arr2 = [[1,2],[[3,4],[5,6],[7,8]],[9,0]];

    console.log(arr2);
    console.log(arr2[1]);
    console.log(arr2[1][2]);
    console.log(arr2[1][2][0]);

</script>
</html>